#ifndef MYCOIN_H
#define MYCOIN_H

#include <QPushButton>
#include "QTimer"
class mycoin : public QPushButton
{
    Q_OBJECT
public:
    //explicit mycoin(QWidget *parent = nullptr);
    mycoin(QString btnImg);
    void changFlag();
    void mousePressEvent(QMouseEvent *ev);
    int posx;
    int posy;
    bool flag;
    bool  isAnimation;
    QTimer *timer1;
    QTimer *timer2;
    int min=1;
    int max=8;
    bool isWin;

signals:

};

#endif // MYCOIN_H
